package war
{
	import flash.display.Sprite;
	/**
	 * 发牌
	 * @author war
	 * 
	 */	
	public class Deal extends Sprite
	{
		public var arr1:Array=[];
		public var arr2:Array=[];
		public var arr3:Array=[];
		public function Deal()
		{
			var cartArr:Shuffle=new Shuffle();
			super();
			arr1=cartArr.shuffleArr.slice(0,17);	
			arr1.sortOn("value",Array.DESCENDING | Array.NUMERIC);
			cartArr.shuffleArr.splice(0,17);
			arr2=cartArr.shuffleArr.slice(0,17)
			arr2.sortOn("value",Array.DESCENDING | Array.NUMERIC);
			cartArr.shuffleArr.splice(0,17);
			arr3=cartArr.shuffleArr.slice(0,17)
			arr3.sortOn("value",Array.DESCENDING | Array.NUMERIC);
			cartArr.shuffleArr.splice(0,17);
		}
	}
}